package org.apache.servicecomb.samples.practise.houserush.realestate.service;

import org.apache.servicecomb.samples.practise.houserush.realestate.entity.Realestate;

import java.util.List;

public interface RealestateService {
    public Realestate createRealesate(Realestate realestate);

    public Realestate findRealestate(Integer id);

    Realestate updateRealestate(Realestate realestate);

    List<Realestate> indexRealestates();

    void removeRealestate(int id);

}
